﻿#ifndef _SHELL_MESSAGE_MANAGER_H_
#define _SHELL_MESSAGE_MANAGER_H_

#include "Message.h"
#include "map"
#include "SocketThread.h"
#include "Beans.h"

using namespace std;

class MessageManager
{
  public:
    static void init();
    static Message* getMsg(int id);
  private:
	  static map<int, Message*> id2message;
};

#endif
